home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DATATION / 3X5CARD.LZH / CHAP6.DOC < prev    next >
Text File  |  1986-01-15  |  30KB  |  1,418 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.      CHAPTER 6  -  PRINTING
  9.       
  10.  
  11.      PRINT COMMAND
  12.  
  13.  
  14.       Edit  Search >Print< Files  Utilities  Quit
  15.       Print  Form  Sheet  Direct  Codes  Hardware  Top
  16.  
  17.  
  18.      Press [P]  in response  to the  Main Menu to issue any of the following
  19.      commands:
  20.  
  21.  
  22.      Print:     Print a group of records.
  23.  
  24.      Form:      Specify the format for printing records.
  25.  
  26.      Sheet:     Specify page length and margins.
  27.                 Specify whether each record is printed on a separate page.
  28.                 Specify whether the program pauses before printing a new
  29.                 page.
  30.  
  31.      Direct:    Send text or codes directly to the printer.
  32.  
  33.      Codes:     Specify the printer codes for underline and bold.
  34.  
  35.      Hardware:  Select the printer port and specify whether a carriage
  36.                 return and new line feed are to sent to the printer
  37.                 at the end of each line.
  38.  
  39.      Top:       Set the printer to the top of a page.
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                                                                          57
  61.  
  62.  
  63.  
  64.  
  65.  
  66.      3by5            
  67.  
  68.      PRINT COMMAND: PRINT MENU 
  69.  
  70.  
  71.       >Print< Form Sheet  Direct  Codes  Hardware  Top
  72.       Print records from a file
  73.  
  74.  
  75.      The Print Menu's Print Command is used to print a group of records to a
  76.      printer.  The  records are  printed by  record number and may be sorted
  77.      alphabetically (3by5 and 3by5 Plus).  To print a group of  records by a
  78.      search key, use the Search Command.
  79.  
  80.  
  81.      Press [P]  to print.   If more  than one file is open, the program will
  82.      ask you to select the file  for  printing.   It  will  the  display the
  83.      following message:
  84.  
  85.  
  86.       From file FILENAME print records:
  87.       Records in file: zzzzz
  88.  
  89.  
  90.  
  91.      The number of records in the file will be displayed.  Type the starting
  92.      record number and press  <Enter>.  Then  type the  ending record number
  93.      and press <Enter>.  
  94.  
  95.      The program will then ask you:  
  96.  
  97.  
  98.       From file FILENAME print records:
  99.       Sort records? (Y/N)
  100.  
  101.  
  102.      If  you  press  [N],  the  program  will  start printing the records in
  103.      numerical sequence.
  104.  
  105.      If you pressed [Y] to sort the records, the program will begin  to sort
  106.      the records  by the  first line  of text  if there are no fields in the
  107.      file.  Otherwise, the program will display the names of the  fields and
  108.      ask for  primary and secondary sort fields.  If you want to sort by one
  109.      field alone, just press <Enter>  in  response  to  the  secondary field
  110.      prompt.
  111.  
  112.      With the  3by5 Starter  Kit you may sort only the first 20 records of a
  113.      file.
  114.  
  115.      Aborting printing:  To abort a printing session, press <Esc>.
  116.  
  117.  
  118.  
  119.           58
  120.  
  121.  
  122.  
  123.  
  124.  
  125.                                                                     PRINTING
  126.  
  127.      FORM COMMAND   
  128.  
  129.  
  130.       Print >Form< Sheet  Direct  Codes  Hardware  Top
  131.       Select print format
  132.  
  133.  
  134.  
  135.      This command is used to specify a format for printing records.  Formats
  136.      for  printing  records  are  stored  standard 3by5 file records and are
  137.      called PRINT FORMS.  In response to  the Print  Command, press  [F] for
  138.      the Form  Command.  The program will ask you for the number of the file
  139.      that contains the print form:
  140.  
  141.  
  142.       File:
  143.       Enter number of file with print form.      0 = standard listing
  144.  
  145.  
  146.  
  147.      Type the  file number.   The program  will then  ask for  the number of
  148.      the record  that contains  the print  form you  want to  use.  Type the
  149.      record number and press <Enter>.  The  print form  will be  loaded into
  150.      memory and  any records printed will be printed in the format specified
  151.      by that record.
  152.  
  153.      If you want to reset the program to  the standard  format for printing,
  154.      type [0] <Enter>.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.                                                                          59
  179.  
  180.  
  181.  
  182.  
  183.  
  184.      3by5            
  185.  
  186.      STANDARD FORM
  187.  
  188.      The standard  print format  is to  print one record after another.  The
  189.      record number is printed before the record, all fields are included and
  190.      the record is followed by a blank line.  There is a six line top margin
  191.      with the name of  the file  on the  second line  and a  six line bottom
  192.      margin.  For example:
  193.  
  194.       ---------------------------------------------------------------
  195.  
  196.       REF.3x5
  197.  
  198.  
  199.  
  200.  
  201.         22
  202.       Knuth, D.E.: The Art of Computer Programing. Vol 3. Reading,
  203.       Massachusetts: Addison-Wesley, 1973.
  204.  
  205.         23
  206.       Harrison, M.C.: Implementation of the Substring Test by Hash-
  207.       ing. CACM 14:777-779, 1971.
  208.  
  209.         24
  210.       Trojak, J.E.: Finding the Search Solution: Signature Screening.
  211.       80 Micro p. 100, December, 1983.
  212.  
  213.  
  214.  
  215.       ---------------------------------------------------------------
  216.  
  217.      Many other  formats are  possible.  The  formats are stored in standard
  218.      3by5 files as PRINT  FORMS.   Your  3by5  master  diskette  has  a file
  219.      FORM.3X5 with  sample print  forms.  The  forms will  be reviewed as an
  220.      introduction to printing with 3by5.  Once  you load  a print  form into
  221.      memory, you may close the file that contained the print form.
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.           60
  238.  
  239.  
  240.  
  241.  
  242.  
  243.                                                                     PRINTING
  244.  
  245.      Print forms  define the way in which text will be printed.  Any text in
  246.      the form will be printed.  The "@" symbol is used as an instruction for
  247.      printing  specific  information  (e.g. fields, field names, file names,
  248.      etc.)
  249.  
  250.  
  251.      PRINT FORM: EXAMPLE 1
  252.  
  253.  
  254.       @A<                    
  255.  
  256.  
  257.  
  258.      Record one of FORM.3X5 contains the simplest print form. It is designed
  259.      for printing from a file with no fields or at most one field (e.g. file
  260.      REF.3X5).
  261.  
  262.      The "@A" on the first line indicates that the contents of field  A will
  263.      be printed.  The field letter must be in upper case for the contents to
  264.      be printed.  IN THIS  CASE FILE  REF.3X5 HAS  NO FIELDS  AND THE ENTIRE
  265.      RECORD IS CONSIDERED TO BE FIELD A.
  266.  
  267.      The  "<"  symbol  indicates  the  carriage return mark that result from
  268.      pressing the <Enter> key.
  269.  
  270.      If a field is longer than one line, the following  lines of  print will
  271.      be adjusted downward.  
  272.  
  273.      This print  form will result in one record being printed after another.
  274.      Assuming that the Sheet Command settings are unchanged, there will be a
  275.      top margin of six blank lines and a bottom margin of six blank lines.
  276.  
  277.      No spaces will be printed between records.  
  278.  
  279.      The results  of using this FORM with file REF.3x5 are shown on the next
  280.      page.
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.                                                                          61
  297.  
  298.  
  299.  
  300.  
  301.  
  302.      3by5            
  303.  
  304.       ---------------------------------------------------------------
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.       Knuth, D.E.: The Art of Computer Programing. Vol 3. Reading,   
  312.       Massachusetts: Addison-Wesley, 1973.
  313.       Harrison, M.C.: Implementation of the Substring Test by Hash-
  314.       ing. CACM 14:777-779, 1971.
  315.       Trojak, J.E.: Finding the Search Solution: Signature Screening.
  316.       80 Micro p. 100, December, 1983.
  317.      //                                                             //
  318.  
  319.  
  320.       ---------------------------------------------------------------
  321.  
  322.      Note that there is  a standard  top margin  of 6  lines and  a standard
  323.      bottom margin  of 6  lines.  Since  no headers or footers were defined,
  324.      there is no text in either the top or bottom margins.
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.           62
  356.  
  357.  
  358.  
  359.  
  360.  
  361.                                                                     PRINTING
  362.  
  363.      PRINT FORM: EXAMPLE 2    (Blank lines between records)
  364.  
  365.  
  366.       @A< 
  367.       < 
  368.  
  369.      Record two of FORM.3X5 contains a record format that is very similar to
  370.      record  one  of  FORM.3X5.   The  only  difference  is  that there is a
  371.      carriage return on line two.  This  will result  in a  blank line being
  372.      printed after each record.
  373.  
  374.      The results of using this FORM with file REF.3x5 would be:
  375.  
  376.       ---------------------------------------------------------------
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.       Knuth, D.E.: The Art of Computer Programing. Vol 3. Reading,
  384.       Massachusetts: Addison-Wesley, 1973.
  385.  
  386.       Harrison, M.C.: Implementation of the Substring Test by Hash-
  387.       ing. CACM 14:777-779, 1971.
  388.  
  389.       Trojak, J.E.: Finding the Search Solution: Signature Screening.
  390.       80 Micro p. 100, December, 1983.
  391.      //                                                             //
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.       ---------------------------------------------------------------
  401.  
  402.      In this  case the  blank line with a carriage return in the form record
  403.      causes a blank line to be printed between  records.  If  there were two
  404.      blank lines  in the  print form  record, there would be two blank lines
  405.      between records in the printout.
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.                                                                          63
  415.  
  416.  
  417.  
  418.  
  419.  
  420.      3by5            
  421.  
  422.      PRINT FORM: EXAMPLE 3      (Record numbers)
  423.  
  424.  
  425.       RECORD NUMBER: @#
  426.       @A<
  427.       <
  428.  
  429.  
  430.  
  431.      Record three of FORM.3X5 contains a record format that is  very similar
  432.      to record  two of FORM.3X5.  The only difference is that the first line
  433.      contains the  text  "RECORD  NUMBER:" and  is  followed  by  the symbol
  434.      "@#".  The  text "RECORD  NUMBER:" will be  printed on  the line before
  435.      each reference and will be followed by the  number of  the record.  The
  436.      "@#" symbol  can appear  anywhere on a print form (except the header or
  437.      footer). 
  438.  
  439.      The results of using this FORM with file REF.3x5 would be:
  440.  
  441.       ---------------------------------------------------------------
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.       RECORD NUMBER: 22
  449.       Knuth, D.E.: The Art of Computer Programing. Vol 3. Reading,
  450.       Massachusetts: Addison-Wesley, 1973.
  451.  
  452.       RECORD NUMBER: 23
  453.       Harrison, M.C.: Implementation of the Substring Test by Hash-
  454.       ing. CACM 14:777-779, 1971.
  455.  
  456.       RECORD NUMBER: 24
  457.       Trojak, J.E.: Finding the Search Solution: Signature Screening.
  458.       80 Micro p. 100, December, 1983
  459.      //                                                             //
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.       ---------------------------------------------------------------
  469.  
  470.  
  471.  
  472.  
  473.           64
  474.  
  475.  
  476.  
  477.  
  478.  
  479.                                                                     PRINTING
  480.  
  481.      PRINT FORM: EXAMPLE 4      (Headers)
  482.  
  483.  
  484.       @.<
  485.       @.REFERENCES FROM FILE: @*<
  486.       @.<
  487.       @.<
  488.       @.<
  489.       @.<
  490.       REC# @#< 
  491.       @A<
  492.       ------------------------<
  493.  
  494.  
  495.      Record four of  FORM.3X5  contains  a  record  format  that  is similar
  496.      to record three of FORM.3X5.  The differences are: 
  497.  
  498.      Six header  lines have  be added.   The symbol  "@." at the  start of a
  499.      line indicates a header or footer.  If the "@." symbol is at the top of
  500.      a print form, it indicates a header.  If it is at the bottom of a print
  501.      form, it indicates a footer.
  502.  
  503.      The second line of the print form is  a header  line.  It  contains the
  504.      text :REFERENCES  FROM FILE:", followed by the symbol "@*".  The symbol
  505.      "@*" indicates that the  name  of  the  file  being  printed  should be
  506.      included at that location.
  507.  
  508.      Line  nine  of  the  print  form  has  a dashed line.  It will separate
  509.      records.
  510.  
  511.      The results of using this FORM with file REF.3x5 are shown on  the next
  512.      page.
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.                                                                          65
  533.  
  534.  
  535.  
  536.  
  537.  
  538.      3by5            
  539.  
  540.       ---------------------------------------------------------------
  541.  
  542.       REFERENCES FROM FILE: REF.3X5
  543.  
  544.  
  545.  
  546.  
  547.       REC# 22
  548.       Knuth, D.E.: The Art of Computer Programing. Vol 3. Reading,
  549.       Massachusetts: Addison-Wesley, 1973.
  550.       ---------------
  551.       REC# 23
  552.       Harrison, M.C.: Implementation of the Substring Test by Hash-
  553.       ing. CACM 14:777-779, 1971.
  554.       ---------------
  555.       REC# 24
  556.       Trojak, J.E.: Finding the Search Solution: Signature Screening.
  557.       80 Micro p. 100, December, 1983.
  558.       ---------------
  559.      //                                                             //
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.       ---------------------------------------------------------------
  569.  
  570.  
  571.  
  572.  
  573.  
  574.  
  575.      A header  may contain  any text you want to print.  It is not necessary
  576.      to include all the lines of a header.  If you  do not  specify the text
  577.      for a header line, it will be printed as a blank line.
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.           66
  592.  
  593.  
  594.  
  595.  
  596.  
  597.                                                                     PRINTING
  598.  
  599.      PRINT FORM: EXAMPLE 5      (Headers and Footers)
  600.  
  601.  
  602.       @.<
  603.       @.REFERENCES FROM FILE: @*<
  604.       @.<
  605.       @.<
  606.       @.<
  607.       @.<
  608.       @*                               REC# @#
  609.       @A<
  610.       ------------------------
  611.       @.
  612.       @.*****************************************
  613.  
  614.  
  615.      Record  five  of  FORM.3X5  contains  a  record  format that is similar
  616.      to record four of FORM.3X5.   The  first  two  footer  lines  have been
  617.      defined:  the  first footer line is blank and the second contains a row
  618.      of asterisks.  
  619.  
  620.      The results of using this print form with file REF.3x5 are shown on the
  621.      next page.
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.                                                                          67
  651.  
  652.  
  653.  
  654.  
  655.  
  656.      3by5            
  657.  
  658.       ---------------------------------------------------------------
  659.  
  660.       REFERENCES FROM FILE: REF.3X5
  661.  
  662.  
  663.  
  664.  
  665.       REF.3X5                                          REC# 22
  666.       Knuth, D.E.: The Art of Computer Programing. Vol 3. Reading,
  667.       Massachusetts: Addison-Wesley, 1973.
  668.       ---------------
  669.       REF.3X5                                          REC# 23
  670.       Harrison, M.C.: Implementation of the Substring Test by Hash-
  671.       ing. CACM 14:777-779, 1971.
  672.       ---------------
  673.       REF.3X5                                          REC# 24
  674.       Trojak, J.E.: Finding the Search Solution: Signature Screening.
  675.       80 Micro p. 100, December, 1983.
  676.       ---------------
  677.      //                                                             //
  678.       
  679.       ***************************************************************
  680.  
  681.  
  682.  
  683.  
  684.       ---------------------------------------------------------------
  685.  
  686.      As  with  a  header,  it  is  necessary to only define those lines of a
  687.      footer that you want to contain text (or  other characters  such as the
  688.      asterisks above).
  689.  
  690.      Note that  in the  above example,  the file  name and record number are
  691.      printed before each record.   It is  shown just  to demonstrate  that a
  692.      file name  can be  placed anywhere  within a  record and  anywhere on a
  693.      page.  The record number was intentionally moved to  the right  side of
  694.      the page.
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.           68
  710.  
  711.  
  712.  
  713.  
  714.  
  715.                                                                     PRINTING
  716.  
  717.      PRINT FORM: EXAMPLE 6      (Multiple Fields)
  718.  
  719.  
  720.       @.<
  721.       @.@*<
  722.       @.<
  723.       @.<
  724.       @.<
  725.       @.<
  726.       @a       @A                    REC# @#<
  727.       @b       @B<
  728.       @c       @C<
  729.       <           
  730.       @d       @D<
  731.       <           
  732.  
  733.  
  734.      Record 6 of FORMS.3X5 is designed for use with file ADDRESS.3X5 of your
  735.      3by5 master diskette.  ADDRESS.3X5 has four fields:
  736.  
  737.         A:  Name field
  738.         B:  Address field (street, city, state, zip, etc.)
  739.         C:  Phone number(s)
  740.         D:  Comments
  741.  
  742.      In this example the name of the file will be printed in the second line
  743.      of the top margin.
  744.  
  745.      The  "@a"  symbol  indicates  that  the  name  of the A field should be
  746.      printed, while the "@A"  symbol indicates  that the  contents of  the A
  747.      field should be printed.  If the "@" symbol is followed by a lower case
  748.      letter, the name of a field is printed; if it  is followed  by an upper
  749.      case letter, the contents of the field are printed.
  750.  
  751.      The single carriage return on line 10 causes a blank line to be printed
  752.      between the telephone field and the comments field.
  753.  
  754.      If a field contains several lines, the following lines of print will be
  755.      adjusted downward.  
  756.  
  757.  
  758.  
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.                                                                          69
  769.  
  770.  
  771.  
  772.  
  773.  
  774.      3by5            
  775.  
  776.      PRINT FORM: EXAMPLE 7      (Mailing labels)
  777.  
  778.  
  779.       @A<
  780.       @B
  781.  
  782.  
  783.  
  784.      Record 7 of FORMS.3X5 is designed for use with file ADDRESS.3X5 of your
  785.      3by5 master diskette.  It will print mailing labels containing the name
  786.      and  address  fields.   As  note  in  Example  6,  ADDRESS.3X5 has four
  787.      fields:
  788.  
  789.         A:  Name field
  790.         B:  Address field (street, city, state, zip, etc.)
  791.         C:  Phone number(s)
  792.         D:  Comments
  793.  
  794.  
  795.      IN THIS EXAMPLE IT IS NECESSARY TO ALSO  USE THE  SHEET COMMAND  TO SET
  796.      THE FOLLOWING PARAMETERS:
  797.  
  798.        Page length   = 6 (assumes five lines per label and one in between)
  799.        Top Margin    = 0
  800.        Bottom Margin = 0
  801.        Form          = Y
  802.  
  803.      The left and right margins and pause command can be set as needed.
  804.  
  805.      The above  settings will  eliminate the  printing of a header or footer
  806.      (top and bottom margins = 0).   Each label  will be  treated as  a page
  807.      (Form = Y).  See page 72 for information on using the Sheet Command.
  808.  
  809.      The format of the record is simple.  On line one the name of the person
  810.      in field A will be printed.  On line two, the  address will  begin.  It
  811.      may be  up to  5 lines  long.  One  record is  printed per page (label)
  812.      since the Form Command was set to "Y".
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.           70
  828.  
  829.  
  830.  
  831.  
  832.  
  833.                                                                     PRINTING
  834.  
  835.      PRINT FORM: EXAMPLE 8      (Sheet Command line)
  836.  
  837.  
  838.       @$ 6 10 80 0 0 Y N<
  839.       TO: @A<
  840.           @B
  841.  
  842.  
  843.  
  844.      Record 8 of FORMS.3X5  is similar  to record  7 and  will print mailing
  845.      labels from file ADDRESS.3X5.  The major difference is that it contains
  846.      a Sheet Command line.  
  847.  
  848.      This line defines the page length,  left  and  right  margins,  top and
  849.      bottom margins, Form Parameter and Pause Parameter.
  850.  
  851.      The Sheet  Command line  must be  the first line of a print form and it
  852.      must begin with a "@$" symbol.  The values entered are:
  853.  
  854.         Page length 
  855.         Left margin
  856.         Right margin
  857.         Top margin
  858.         Bottom margin
  859.         Form Parameter
  860.         Pause Parameter
  861.  
  862.      All values  must be  entered in  the above  order.  One  or more spaces
  863.      separate each value.
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.                                                                          71
  887.  
  888.  
  889.  
  890.  
  891.  
  892.      3by5            
  893.  
  894.      APPENDING FIELDS
  895.  
  896.      Sometimes you may want to append several fields together.  For example,
  897.      you may have a file with the following fields:
  898.  
  899.        A  Last name
  900.        B  First name
  901.        C  Street address
  902.        D  City
  903.        E  State
  904.        F  ZIP Code
  905.  
  906.      You can append the last name and first name fields together to  get one
  907.      name.  Similarly the City, State and Zip Code fields can be appended.
  908.  
  909.      The rule for appending fields is as follows:
  910.        
  911.      After  the  initial  "@"  symbol,  there  is  a  field letter.  This is
  912.      followed  immediately  by  another  "@"  which  may  be  followed  by a
  913.      character to be printed or by another field name.  
  914.  
  915.      For example:
  916.  
  917.         @B@ @A           will print the first name, a space, and the
  918.                          last name.
  919.  
  920.         @D@ @E@ @F       will print the city, a space, the state, a
  921.                          space, and the ZIP Code.
  922.  
  923.  
  924.      The ability  to append  fields has been added to 3by5 at the request of
  925.      users who sort 3by5 records by ZIP Code or state and want to be able to
  926.      print labels with the city, state and ZIP Code on one line.
  927.  
  928.  
  929.  
  930.  
  931.  
  932.  
  933.  
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.           72
  946.  
  947.  
  948.  
  949.  
  950.  
  951.                                                                     PRINTING
  952.  
  953.      PRINT FORM CODES
  954.  
  955.      3by5 used  the "@'  symbol to  signify a  print form command.  The fol-
  956.      lowing codes may be used:
  957.  
  958.      @A   designates that the contents for field A will be printed at the
  959.            location of the "@" symbol.  The field must be specified as an
  960.            upper case letter (i.e. A - O).
  961.  
  962.      @a   designates that the name of the field will be printed at the
  963.           location of the "@" (i.e. a - o).
  964.  
  965.      @#   designates that the current record number will be printed at
  966.           the location of the "@".  The "#" symbol may be followed by a
  967.           "-" sign to specify that the record number will be left justified.
  968.           A "0" (zero) designates zero filling of any blank spaces. 
  969.           Finally, a digit form 1 to 9 may be used to specify the number
  970.           of spaces in the record field.  The rules are those used by the
  971.           C language function printf(). 
  972.  
  973.      @*   The current file name will be printed
  974.  
  975.      @.   The line is a header or footer
  976.  
  977.      @$   The sheet format control line.  This command can appear only as
  978.           the first two characters of the first line.  It must be 
  979.           followed by the page length, left margin, right, top margin,
  980.           bottom margin, form parameter and pause parameter settings.  For
  981.           example:
  982.  
  983.                @$ 66 6 6 15 90 Y Y
  984.  
  985.           Each parameter is separated by one or more spaces.  The order of
  986.           the parameters is the same as that used by the Sheet Command. 
  987.           In the above example, the page length is set to 66, the top
  988.           and bottom margins to 6 lines each, the left margin to column
  989.           15 and the right margin to column 90.  The Form Parameter is set
  990.           to "Y" as is the pause Parameter. 
  991.  
  992.      @=   This symbol should appear at the end of a line.  It indicates
  993.           that the contents of the line are to be printed on the same
  994.           line as the form line.  The text will not be adjusted in an
  995.           upward or downward direction.
  996.  
  997.      @-   This symbol should appear at the end of a line.  It indicates
  998.           that the contents of the line should be moved up to the last
  999.           printed line of text.
  1000.           
  1001.  
  1002.  
  1003.  
  1004.                                                                          73
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010.      3by5            
  1011.  
  1012.      \xxx A back slash followed by three digits is used to send a printer
  1013.           code.  The value of the three digits is sent to the printer. For
  1014.           example, \027 is sent as 27 (the escape code).
  1015.           
  1016.          
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.           74
  1064.  
  1065.  
  1066.  
  1067.  
  1068.  
  1069.                                                                     PRINTING
  1070.  
  1071.      SHEET COMMAND
  1072.  
  1073.  
  1074.       Print  Form >Sheet< Direct  Codes  Hardware  Top
  1075.       Set sheet margins, pause and form options
  1076.  
  1077.  
  1078.  
  1079.      The Sheet Command is used to specify the number of lines per  page, the
  1080.      left, right,  top and  bottom margins.   It also  specifies whether one
  1081.      record is printed per page and whether there is a pause after a page is
  1082.      printed.
  1083.  
  1084.      Press  [S]  to  specify  the  Sheet Command.  The following screen will
  1085.      appear:
  1086.  
  1087.       -----------------------------------------------------
  1088.      |                                                     |
  1089.      |                                                     |
  1090.      |Page length:    (1 - 999)            66              |
  1091.      |Left margin:    (1 - 132)             1              |
  1092.      |Right margin:   (1 - 132)            78              |
  1093.      |Top margin:     (0 -    )             6              |
  1094.      |Bottom margin:  (0 -    )             6              |
  1095.      |Form: (Y/N)                           N              |
  1096.      |Pause: (Y/N)                          N              |
  1097.      |                                                     |
  1098.      |                                                     |
  1099.      |                                                     |
  1100.      |                                                     |
  1101.      |<Esc> Cancel   <F10> save                            |
  1102.       -----------------------------------------------------
  1103.  
  1104.  
  1105.      Page len is the length of the page in lines.  A standard 8.5 x  11 inch
  1106.      page has  66 lines  (6 lines  per inch).   A 3by5 card has 18 lines per
  1107.      page.
  1108.  
  1109.      LM is the left margin for printing to  begin.  The  printer left margin
  1110.      is adjusted  before a record is printed.  For example, if the file left
  1111.      margin is 1 and  the printer  left margin  is 10,  the printer  will be
  1112.      spaced 10 blank spaces to the right before printing begins.
  1113.  
  1114.      RM is  the right  margin of the printer.  Any attempt to print past the
  1115.      right margin results in a carriage return and  new line  feed.  In most
  1116.      cases if  you move  the left  margin over  20 spaces  to the right, you
  1117.      should also move the right margin over 20 spaces.
  1118.  
  1119.      TM is the number of lines the printer will leave at the  top of  a page
  1120.      before  printing  records.   If  you  specified  a  heading, it will be
  1121.  
  1122.                                                                          75
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.      3by5            
  1129.  
  1130.      printed on the second line of the page.
  1131.  
  1132.      BM is the number of lines the printer will leave  at the  bottom of the
  1133.      page.
  1134.  
  1135.      FORM PARAMETER designates whether the printer will treat each record as
  1136.      a separate form (page).  For printing  3x5 cards  or large  records the
  1137.      FORM parameter should be set to "Y".  If you are printing references on
  1138.      standard 8.5 x 11 inch  paper,  most  likely  you  will  want  to print
  1139.      several records on a page, in which case FORM should be set to "N".
  1140.  
  1141.      PAUSE PARAMETER  designates that the program will pause after each page
  1142.      is printed.  This will allow you to insert another sheet of paper.
  1143.  
  1144.      Type in your new printer parameters and press  enter after  each value.
  1145.      You  may  use  the  Up  and  Down  Arrow keys to move form one value to
  1146.      another.  
  1147.  
  1148.      When you are finished, press <F10> to save the new values.  Press <Esc>
  1149.      to cancel any values you have entered.
  1150.  
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.           76
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.                                                                     PRINTING
  1188.  
  1189.      DIRECT COMMAND
  1190.  
  1191.  
  1192.       Print  Form  Sheet >Direct< Codes  Hardware  Top
  1193.       Type text or printer codes directly to the printer
  1194.  
  1195.  
  1196.      The  Direct  Command  allows  you  to  type  a line of text and have it
  1197.      printed directly to the printer after you press <Enter>.  
  1198.  
  1199.      Codes may be inserted by using a back  slash followed  by three decimal
  1200.      digits for  the code.  For example, the line "\027\071" will send codes
  1201.      27 and 71 to the printer and will turn on  bold printing  on an  IBM or
  1202.      Epson dot matrix printer.
  1203.  
  1204.      Press <Esc> when you are finished sending text or codes directly to the
  1205.      printer.
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217.  
  1218.  
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.                                                                          77
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246.      3by5            
  1247.  
  1248.      CODES COMMAND
  1249.  
  1250.  
  1251.       Print  Form  Sheet  Direct >Codes< Hardware  Top
  1252.       Set printer codes for underline and bold
  1253.  
  1254.  
  1255.      The Codes Command allows you to specify the printer codes  for printing
  1256.      bold text  and for  underlining.  3by5  bold and underline commands are
  1257.      set for the IBM or Epson  dot  matrix  printer.   If  you  have another
  1258.      printer, you can specify the codes that will be sent to the printer for
  1259.      printing bold text and for underlining.  
  1260.  
  1261.      The 3by5 Starter Kit cannot underline or print bold.
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.           78
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.                                                                     PRINTING
  1306.  
  1307.      HARDWARE COMMAND
  1308.  
  1309.  
  1310.       Print  Form  Sheet  Direct  Codes >Hardware< Top
  1311.       Set hardware parameters
  1312.  
  1313.  
  1314.      The Printer Hardware  Command  is  used  to  specify  the  printer port
  1315.      (1  or  2)  and  whether  a  new line feed should be transmitted to the
  1316.      printer after  each  carriage  return.   The  default  printer  port is
  1317.      #1  and  the  default  end  of  line  is  to send a carriage return and
  1318.      new line feed.
  1319.  
  1320.  
  1321.      Press [H] for the  Hardware  Command.   The  program  will  display the
  1322.      following:
  1323.  
  1324.  
  1325.       Printer 1    New Line Feed  Y
  1326.       Printer number (1 - 2)
  1327.  
  1328.  
  1329.  
  1330.  
  1331.      The  default  printer  is  number  1.   If  you want to direct printing
  1332.      to port 2, just type [2].  
  1333.  
  1334.      The program will move  to the  New Line  Feed prompt.   If your printer
  1335.      performs  a  new  line  feed  after  each  carriage return, type [N] in
  1336.      response to the New Line Feed prompt.
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.                                                                          79
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.      3by5            
  1365.  
  1366.      TOP COMMAND
  1367.  
  1368.  
  1369.       Print  Form  Sheet  Direct  Codes  Hardware >Top<
  1370.       Set printer to top of page
  1371.  
  1372.  
  1373.      The Top Command is used to direct 3by5 that you are setting the printer
  1374.      to the  top of  a new  page.  It  is used  if the  paper is not aligned
  1375.      properly, if you change paper while printing, or if you  abort printing
  1376.      and want to start on a new page.
  1377.  
  1378.      Press [T] and the program will prompt you:
  1379.  
  1380.  
  1381.       Set printer to top of page.
  1382.       Press <Enter> to continue.
  1383.  
  1384.  
  1385.      Manually position the paper to the top of the page, and press <Enter>.
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.           80
  1418.